$color: black;

.scoped {
    $bg: blue;
    $color: white;
    color: $color;
    background-color: $bg;
}

.unscoped {
    color: $color;
}